<!-- include tiny_mce editor -->
<script type="text/javascript" src="./Jscript/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({


	width : "700",
	height : "600",

        // General options
        mode : "textareas",
        theme : "advanced",
        plugins : "autolink,lists, pagebreak,style,layer,table,save,advhr,advlink,iespell,inlinepopups,preview,media,searchreplace,print,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template, ibrowser",

        // Theme options
        theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl",
        theme_advanced_buttons3_add : "ibrowser",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,

        // Skin options
        skin : "o2k7",
        skin_variant : "silver",

        // Example content CSS (should be your site CSS)
        content_css : "css/example.css",

        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "js/template_list.js",
        external_link_list_url : "js/link_list.js",
        external_image_list_url : "js/image_list.js",
        media_external_list_url : "js/media_list.js",

       
});


</script>

<?php
//checks which language is set and gets its name
include ("checkLanguage.php");

//The following code will be included in the view that was loaded by the controller
//So the array "aDisplayedContent of the view can be found.
//The elements of the array where set by the controller.
?>


<form method="post"
	action="index.php?co=pageStructure&method=saveContentPage&id=<?=$_GET['id']?>">
	
		<table>
<tr> 
		<td align="right">Sprache ist:&nbsp;&nbsp;</td>
		<td><input type="text"id="lid" style="font-size: 92%" name="lid" value="<?=$sDefaultS?>" size="7" disabled="disabled"></td>
		</tr>
		<tr><td><br></td></tr>

<tr>
<td>Seitentitel:</td>
<td><input type="text" name="name"
			size="30" maxlength="50" class="text" value="<?=$this->aDisplayedContent['title']?>" /></td>
</tr>
</table>
<p align="right"><input type="submit" value="&Auml;nderungen speichern" /></p>
<textarea name="content"><?=$this->aDisplayedContent['content']?></textarea>
</form>

